{% extends "base.html" %}

{% block content %}

<div class="bs-docs-section">
    <div class="page-header">
        <div class="row">
            <div class="col-lg-12">
                <h1 id="buttons">下载文件</h1>
            </div>
        </div>
    </div>
    <table class="table table-hover">
        <thead>
            <tr>
                <th>文件名</th>
                <th>文件大小</th>
            </tr>
        </thead>
        <tbody>
            {% for f, s in files.items() %}
            <tr>
                <td><a href="{{ url_for('download_file', filename=f) }}">{{ f }}</td>
                <td>{{ s }}</td>
            </tr>
            {% endfor %}
        </tbody>
    </table>

    <hr />
    <div class="row">
        <div class="bs-component col-12">
            <h3>实现方法</h3>
            <a href="{{ url_for('markdown', filename='下载文件.html') }}">Markdown</a>
        </div>
    </div>

</div>



{% endblock %}